home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / alib / csup / commodities_support / freeie.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-16  |  337 b   |  22 lines

  1.  
  2.  
  3. #include <devices/inputevent.h>
  4. #include <clib/exec_protos.h>
  5. #include <pragmas/exec_pragmas.h>
  6.  
  7.  
  8. extern struct Library * __far SysBase;
  9.  
  10.  
  11. VOID FreeIEvents(struct InputEvent *ie)
  12. {
  13. struct InputEvent *next;
  14.  
  15.     while (ie)
  16.     {
  17.         next = ie->ie_NextEvent;
  18.         FreeMem(ie,sizeof(struct InputEvent));
  19.         ie = next;
  20.     }
  21. }
  22.